fullstackproltd / AspNetCoreSpa

Asp.Net 7.0 & Angular 15 SPA Fullstack application with plenty of examples. Live demo:
https://aspnetcorespa.fullstackpro.co.uk
MIT License
1.47k stars 464 forks source link

where can i get client_id ? #179

Closed meninjanho4788 closed 6 years ago

meninjanho4788 commented 6 years ago

Dear @asadsahi Please guide me where can i get client id in file auth.config.ts I try : "aspnetcorespa", "498770901095-mrabuie6uo3he6p5s7sf0hjvq3a3j6po.apps.googleusercontent.com" My google api, it have a error : The specified 'client_id' parameter is invalid

asadsahi commented 6 years ago

@meninjanho4788 client_id in auth.config.ts is for openidconnect application identifier, which should match with with ClientId property of OpenIddictApplicationDescription config. check SeedDbData.cs around line 111. This is nothing to do with google client_id or client_secret keys.

Having said that. google secrets you have need to be configured in appsettings.json file.

meninjanho4788 commented 6 years ago

Dear @asadsahi Thank you so much

asadsahi commented 6 years ago

@meninjanho4788 you are welcome. Closing for now.