-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Token not present in Identity Domains' CreateAuthTokenResponse
and CreateMyAuthTokenResponse
#448
Comments
@F21 thanks for reporting the issue, we will have Identity look at this and confirm. |
Hi @F21 I quickly checked the CreateAuthTokenResponse & CreateMyAuthTokenResponse and in both the response objects we do get back AuthToken and MyAuthToken respectively. However we do not actually send the content of the token and I think it's by design. Can you help me understand why do you need to the token ? |
@jyotisaini I need the contents of the auth token, because I am using Terraform to create the auth tokens and need to set the actual tokens as secrets in my application/deployment. Is there any other way to retrieve the content of the token after creation? There doesn't seem to be any use-case where one would create the auth token without being able to retrieve the content of the token. Interestingly, if I create an auth token using the identity service (not identity domains), I am able to get the token back. See AuthToken which is returned by CreateAuthToken |
Hi @F21 We've communicated with the Identity domains service team regarding this and they've identified that its a bug. They're planning to update their APIs to include a token and then we will also make corresponding changes to the SDK. Once the changes are implemented, we'll provide you with an update. |
Any updates for this one? This is a pretty big blocker for us. |
Any update for this one? |
The
token
seems to be missing from the following response types for theIdentityDomainsClient
:CreateAuthTokenResponse
CreateMyAuthTokenResponse
Since it is not possible to get the token back after creating them, the
CreateAuthToken
andCreateMyAuthToken
methods are a bit useless.I did trace the request when creating auth tokens using the OCI dashboard and it appears that a
token
attribute was returned in the response, so the value appears to be there, just not in the API documentation and the SDK.The text was updated successfully, but these errors were encountered: