teamhanko / passkeys

FIDO2-certified passkey server and SDKs for adding passkey support to any auth system
https://hanko.io/passkey-api
GNU Affero General Public License v3.0
115 stars 8 forks source link

feat: only create API key when requested #29

Closed FreddyDevelop closed 9 months ago

FreddyDevelop commented 9 months ago

Only create a API key at tenant creation when it is requested. This way, when someone creates a new tenant at our console does not have already an API key he can't use, because we do not show the secret when the tenant was created.

shentschel commented 9 months ago

can you explain me a use case where one does want a tenant but no api key to use it right away? Without it you cannot use all credential or registration init endpoints, right?

FreddyDevelop commented 9 months ago

Yes, but currently we do not show the apiKey (in the console) after a project was created, so a project has an apiKey, but a user can't use it, because it was never shown to him.