Closed gaiabeatrice closed 3 years ago
I realize that the typespec for normalize/2 belonging to the OIDC strategy is different than the one described in the docs, and the OAuth2 one, and it is making my dialyzer fail.
normalize/2
I believe it should be changed to
@callback normalize(Keyword.t(), map()) :: {:ok, map()} | {:ok, map(), map()} | {:error, term()}
to allow claims that don't conform to the OIDC spec
Good catch, thanks! Fixed in #92.
@danschultzer can you cut a release for this, so it can fix the dialyzer errors?
New release is out, sorry for the delay!
I realize that the typespec for
normalize/2
belonging to the OIDC strategy is different than the one described in the docs, and the OAuth2 one, and it is making my dialyzer fail.I believe it should be changed to
to allow claims that don't conform to the OIDC spec