Skip to content

[Bug] Net::HTTP is returning 403 Forbidden on getting Apple Auth Keys #31

@yasalmasri

Description

@yasalmasri

Bug report:

  • Expected Behavior:
    Production Environment when verifying user identity, request to Apple Auth Keys should return 200 response code.
    I tried to hit the same URL using RestClient and got 200 response code with the expected response body.

  • Actual Behavior:
    Production Environment when verifying user identity, request to Apple Auth Keys is returning 403 Forbidden.

  • Steps to Reproduce:

    1. Deploy a rails app
    2. rails console
    3. Net::HTTP.get(URI.parse('https://appleid.apple.com/auth/keys'))
    4. Response code is 403
  • Version of the repo:
    AppleAuth 1.0.0

  • Ruby and Rails Version:
    ruby-2.7.1 rails-6.0.4.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions