I\'m implementing an OAuth2 provider, and I would like to have an area somewhere in my web site where developers log on and register third party apps. But I\'m having doubts on
The client identifier can be anything you want. It can be their choice or any random string.
The client secret should be a cryptographically strong random string. Here is how you can generate one:
RandomNumberGenerator cryptoRandomDataGenerator = new RNGCryptoServiceProvider();
byte[] buffer = new byte[length];
cryptoRandomDataGenerator.GetBytes(buffer);
string uniq = Convert.ToBase64String(buffer);
return uniq;