erlef / erlef/oidcc

Improve error for trailing `/` in issuer url

Open
#431 6 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
Erlang
Stars
240
Forks
69
Avg merge
10h 40m
Merged PRs (30d)
4

Description

### oidcc version

3.3.0

### Erlang version

27

### Elixir version

1.18.1

### Summary

Using an issuer of `https://cognito-idp.eu-central-1.amazonaws.com/…/` causes an issuer mismatch error, while the same url without trailing `/` doesn't. I'm not sure if this is expected. It either could have a better error message / be detected earlier if not be silently handled by removing the trailing `/`.

### Current behavior

See above.

### How to reproduce

See above.

### Expected behavior

See above.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.